
<view class="address-list">
    <view wx:if="{{!isEmpty}}" >
        <image id="emptyImg" src="{{urlAddress}}/kong_dingweishibai.png"></image>
        <label id="note">请创建配送地址</label>
    </view>
    <scroll-view  wx:if="{{isEmpty}}" scroll-y style="height:{{winHeight}};">
    <block wx:for="{{addressData}}" wx:for-item="item" wx:for-index="idx">
        <view class="item-box">
    <view class="address-item clearfix">
        <view data-id="{{item.addressId}}"  data-addressFixed="{{item.addressFixed}}" data-addressDetail="{{item.addressDetail}}"
        bindtouchstart="bindTouchStart" bindtouchend="bindTouchEnd" bindlongtap="bingLongTap" bindtap="bindTap">
        <view class="item-default">
            <image wx:if="{{!item.select}}" src="{{urlAddress}}/meal_icon_default.png"></image>
            <image wx:if="{{item.select}}" src="{{urlAddress}}/meal_icon_selected.png"></image>
        </view>
        <view class="item-content">
            <label>{{item.nickName}}<span> {{item.mobile}}</span>
                <span class="default" wx:if="{{item.isDefault==1}}">默认</span>
            </label>
            <label>{{item.addressFixed}}<span>{{item.addressDetail}}</span></label>
        </view>
      </view>
        <view class="item-edit" catchtap="editAddress" data-id="{{item.addressId}}"> 编辑</view>
    </view>
</view>
</block>
</scroll-view>
    <view class="item-btn" style="top:{{boxTop}};bottom:{{boxBottom}}">
        <navigator class="address-add" style="width:{{boxWidth}};"url="../reserveAddress/reserveAddress?type=2&state=add" hover-class="navigator-hover">
            <view class="add-box">
                    <image src="../../image/meal_icon_add.png"></image>
                    <label>新增地址</label>
            </view>
            </navigator>
    </view>
</view>    